package com.bosc.modeling.dao.gen;

import com.bosc.modeling.pojo.gen.CompetitionEntity;
import com.bosc.modeling.pojo.gen.CompetitionEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompetitionEntityMapper {
    long countByExample(CompetitionEntityExample example);

    int deleteByExample(CompetitionEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CompetitionEntity record);

    int insertSelective(CompetitionEntity record);

    List<CompetitionEntity> selectByExample(CompetitionEntityExample example);

    CompetitionEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CompetitionEntity record, @Param("example") CompetitionEntityExample example);

    int updateByExample(@Param("record") CompetitionEntity record, @Param("example") CompetitionEntityExample example);

    int updateByPrimaryKeySelective(CompetitionEntity record);

    int updateByPrimaryKey(CompetitionEntity record);
}